Skip to content

improvement: Avoid recompiling in non-boostrapped projects #23017

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Apr 18, 2025

Otherwise we seem to recompile more than needed:

[info] Build triggered by /Users/tgodzik/Documents/dotty/presentation-compiler/test/dotty/tools/pc/tests/hover/HoverTermSuite.scala. Running 'scala3-presentation-compiler/testOnly dotty.tools.pc.tests.hover.HoverTermSuite -- *named-tuples5'.
[info] compiling 27 Scala sources to /Users/tgodzik/Documents/dotty/compiler/target/scala-3.7.0-RC3/classes ...
[info] compiling 4 Java sources to /Users/tgodzik/Documents/dotty/sbt-bridge/src/target/classes ...
[info] compiling 1 Scala source to /Users/tgodzik/Documents/dotty/out/bootstrap/scala3-presentation-compiler/scala-3.7.1-RC1-bin-SNAPSHOT-nonbootstrapped/test-classes ...

after changes to a test in PC

I am not 100% why this was needed.

Otherwise we seem to recompile more than needed:
```
[info] Build triggered by /Users/tgodzik/Documents/dotty/presentation-compiler/test/dotty/tools/pc/tests/hover/HoverTermSuite.scala. Running 'scala3-presentation-compiler/testOnly dotty.tools.pc.tests.hover.HoverTermSuite -- *named-tuples5'.
[info] compiling 27 Scala sources to /Users/tgodzik/Documents/dotty/compiler/target/scala-3.7.0-RC3/classes ...
[info] compiling 4 Java sources to /Users/tgodzik/Documents/dotty/sbt-bridge/src/target/classes ...
[info] compiling 1 Scala source to /Users/tgodzik/Documents/dotty/out/bootstrap/scala3-presentation-compiler/scala-3.7.1-RC1-bin-SNAPSHOT-nonbootstrapped/test-classes ...
```
after changes to a test in PC

I am not 100% why this was needed.
@tgodzik tgodzik requested a review from hamzaremmal April 18, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant